package com.hanhai.zrb.model.project;
import java.io.Serializable;


/**
 * 
 * 用户关注项目
 * 
 **/
@SuppressWarnings("serial")
public class UserProjectRef implements Serializable {
	
	public enum refProType{
		COLLECT_PRO(1,"关注项目"),
		MY_PROJECT(2,"我的项目");
		
		private int type;//ref 类型,1 表示关注项目; 2 表示我的项目
		
		private String desc;
		
		public int getType() {
			return type;
		}

		public void setType(int type) {
			this.type = type;
		}

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}

		private refProType(int type,String desc) {
			this.type = type;
			this.desc = desc;
		}
	}

	/****/
	private Integer autoId;

	/**项目id**/
	private Integer projectId;

	/**用户id**/
	private Integer userId;

	/**关注时间**/
	private java.util.Date insertTime;

	/**是否取消，0：否，1是**/
	private Integer isCancel;

	/**关注类型，1：关注项目，2：我的项目**/
	private Integer refType;



	public void setAutoId(Integer autoId){
		this.autoId = autoId;
	}

	public Integer getAutoId(){
		return this.autoId;
	}

	public void setProjectId(Integer projectId){
		this.projectId = projectId;
	}

	public Integer getProjectId(){
		return this.projectId;
	}

	public void setUserId(Integer userId){
		this.userId = userId;
	}

	public Integer getUserId(){
		return this.userId;
	}

	public void setInsertTime(java.util.Date insertTime){
		this.insertTime = insertTime;
	}

	public java.util.Date getInsertTime(){
		return this.insertTime;
	}

	public void setIsCancel(Integer isCancel){
		this.isCancel = isCancel;
	}

	public Integer getIsCancel(){
		return this.isCancel;
	}

	public void setRefType(Integer refType){
		this.refType = refType;
	}

	public Integer getRefType(){
		return this.refType;
	}

}
